﻿#include<iostream>
#include<vector>
using namespace std;
#include"map.h"
void test_map()
{
	map<string, string> dict;
	dict.insert(make_pair("sort", ""));
	dict.insert(make_pair("sort", "xx"));
	dict.insert(make_pair("left", ""));
	dict.insert(make_pair("right", "iii"));

    map<string, string>::iterator it = dict.begin();
	while (it != dict.end())
	{
		cout << (*it).first << " ";
		++it;
	}
	cout << endl;

}
int main()
{
	test_map();
	return 0;
}